Mass-radius constraints for compact stars and a critical endpoint