fix is_pointer_to_const and is_reference_to_const traits