US sheriff threatens to defy state to protect gun ownership rights