Fix a segfault when particle positions are nan
Fix a segfault when particle positions are nan

CPU analogue of previous fix for GPU

joaander/hoomd-blue,joaander/hoomd-blue,joaander/hoomd-blue,joaander/hoomd-blue,joaander/hoomd-blue,joaander/hoomd-blue