[PATCH openEuler-1.0-LTS] nbd: add sanity check for first_minor