7.1-magnitude quake jolts northern Pakistan