Labour declares ‘The pint is safe with us’ after fears were raised over the future of the imperial measure