smbd: Remove name_hash param from open_mode_check