Fix validation of numpy types depending on numpy being imported.

If numpy was not imported before traits, validators did not consider
numpy types.
Merge remote-tracking branch 'upstream/fix-numpy-validators' into python3