Fix error message to match the truth.
Merge pull request #1470 from mdboom/unit/fix-error-message-about-array-type

Fix error message about acceptable unit scale data types