miscdevice: Add helper macro for misc device boilerplate