5.7 magnitude quake jolts parts of Pakistan