The rapper grew up in Portsmouth, near Pharrell’s hometown of Virginia Beach, where the movie will be set