Check for being at the critical point with PQ inputs.

Closes https://github.com/CoolProp/CoolProp/issues

Signed-off-by: Ian Bell <ian.h.bell@gmail.com>