In nsterm.m use FRAME_NS_P instead of FRAME_X_P (Bug#30019)