stbt.detect_motion: Fix invalid argument on some versions of numpy

On travis-ci's Ubuntu 12.04 (?) the test
"test_wait_for_motion_with_mask_reports_motion" was complaining:
"TypeError: <unknown> is not a numpy array".