since the moduleGetCommandKeysViaAPI api doesn't support flags, and modules can soon declare key-specs, we should probably re-order the checks in getKeysFromCommandWithSpecs and prefer key-specs over moduleGetCommandKeysViaAPI (only if there are no key-specs or something).
Alternatively, additionally add a variant for RedisModule_KeyAtPos that sets key-spec flags.