Jacksonville officer avoids charges over sex with prostitute