Handle invalid masked setups more gracefully.

If there was a setup problem, i.e. you have <input ui-mask="99">, maskedinput stops here, because input.data($.mask.dataName) is undefined.