Creates a Specification that checks for inequality between the property and the given value.
T – the type of the entity.
P - the type of the property.
A Specification that checks for inequality.
the value to compare against.