BUG: Fix commutativity of {dot,multiply,inner}(scalar, matrix_of_objects)

Fixes #2469 and #4482. Relaxes fail condition to allow subtype as documented.

The comment above the changed code stated "or a subtype of the same type", but the code was calling ``PyArray_CheckExact`` to do the check. Changed this to ``PyArray_Check`` to allow matching of subtypes.