Fix a bug in Firefox

Chrome/Safari returns true to checkValidity when setting an empty error message. However Firefox considers null as a custom error message. Giving an empty string actually follows what the spec asks.